package yang.learn.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import yang.learn.entity.Contacts;

import java.util.List;

@Repository
public interface ContactsDao {

    public void add(Contacts contacts);

    public void del(Contacts contacts);

    public void change(Contacts contacts);

    public List<Contacts> queryAll(Integer user_id);

    public Contacts query(Integer user_id);
}
